package com.example.demorabbitmq;

import com.alibaba.fastjson.JSON;

/**
 * @author liyh <levart@163.com>
 * @version 20210818
 */
public class MessageVO{
    private String test;
    private Integer sendCount;

    public MessageVO(String test, Integer sendCount) {
        this.test = test;
        this.sendCount = sendCount;
    }

    public String getTest() {
        return test;
    }

    public void setTest(String test) {
        this.test = test;
    }

    public Integer getSendCount() {
        return sendCount;
    }

    public void setSendCount(Integer sendCount) {
        this.sendCount = sendCount;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
